package com.zcf.pojo;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhaoQi
 * @since 2019-07-05
 */
public class ClubUserLoss extends Model<ClubUserLoss> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer userid;
    /**
     * 俱乐部id
     */
    private Integer clubid;
    /**
     * 创建时间
     */
    @TableField("createTime")
    private Date createTime;
    /**
     * 损耗金币
     */
    private Integer lossmoney;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getClubid() {
        return clubid;
    }

    public void setClubid(Integer clubid) {
        this.clubid = clubid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getLossmoney() {
        return lossmoney;
    }

    public void setLossmoney(Integer lossmoney) {
        this.lossmoney = lossmoney;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ClubUserLoss{" +
        "id=" + id +
        ", userid=" + userid +
        ", clubid=" + clubid +
        ", createTime=" + createTime +
        ", lossmoney=" + lossmoney +
        "}";
    }
}
